package ooday03;

public class EmployeeTest {
    public static void main(String[] args) {

        Majordomo zs=new Majordomo("张三",35,10000.0);

        zs.edit();
        zs.solve();
        zs.train();
        zs.go();
        zs.off();
        zs.work();

        Manager ls=new Manager("李四",28,8000.0);

        ls.go();
        ls.off();
        ls.work();
        ls.edit();

        HeadTeacher ww=new HeadTeacher("王五",25,6000.0);

        ww.go();
        ww.off();
        ww.work();


        Teacher dlh=new Teacher("丁龙豪",22,5000.0);

        dlh.go();
        dlh.off();
        dlh.train();
        dlh.solve();
    }
}
